package com.itheima.boot.service;


import com.github.pagehelper.PageInfo;
import com.itheima.boot.domain.Book;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface BookService {

    List<Book> getAll(Book book);

    void add(Book book);

    void delete(Integer id);

    Book  selectById(Integer id);

    void update(Book book);
}
